package ext.tianma.bom.service.imp;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

/**
 * ERP webservice interface
 * 
 * @author JiangKaiji
 * Date: 2016/4/30
 */
@WebService(name = "ECNService",
        targetNamespace = "http://seed.plm.com/ECNService")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
public interface ECNService {

    @WebMethod(operationName = "erpFeedback")
    @WebResult(name = "erpFeedback")
    public String erpFeedback(@WebParam(name = "ecnNumber") String ecnNumber, 
            @WebParam(name = "status")boolean status, 
            @WebParam(name = "message")String message);

}